package com.felix.pattern.share;

import lombok.Data;

import static com.felix.pattern.share.ShareConstants.TYPE_LINK;

/**
 * Link
 *
 * @author xuejinhua
 * @date 2019/1/24 10:22
 */
@Data
public class Link extends AbstractShareItem {

    public String title;
    public String content;
    public String link;

    public Link(String title, String content, String link) {
        super(TYPE_LINK);
        this.title = title;
        this.content = content;
        this.link = link;
    }

    @Override
    public void doShare(ShareListener listener) {

    }
}
